package com.bytedance.improvingroad.activity

import com.bytedance.improvingroad.databinding.ActivityNestedTestBinding
import com.bytedance.improvingroad.fragment.DefineNestedFragment
import com.bytedance.improvingroad.fragment.ModifyTraditionalNestedFragment
import com.bytedance.improvingroad.fragment.TraditionalNestedFragment

class NestedTestActivity : BaseBindingActivity<ActivityNestedTestBinding>() {

    override fun initData() {

    }

    override fun initListener() {
        val transaction = supportFragmentManager.beginTransaction()
//        transaction.add(binding.container.id, TraditionalNestedFragment()).commit()
//        transaction.add(binding.container.id, DefineNestedFragment()).commit()
        transaction.add(binding.container.id, ModifyTraditionalNestedFragment()).commit()
    }
}